
.sub-header {
    position: fixed;
    top: 36px;
    left: 0;
    z-index: 98;
    width: 100%;
    min-width: 1024px;
    padding: 0 40px;
    transition: all .5s ease
}

.sub-header.has-top {
    top: 100px
}

.sub-header .brand {
    display: block;
    width: 142px;
    height: 31px;
    background-image: url(./images/logo.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center
}

.sub-header ul.menu {
    margin: 0;
    padding-left: 0;
    list-style: none
}

.sub-header ul.menu li.menu-item {
    float: left;
    position: relative;
    padding: 0 2px;
    display: inline-block;
    vertical-align: middle;
    transition: all ease-in-out .25s
}

.sub-header ul.menu li.menu-item.active a {
    font-weight: 700;
    background-color: rgba(255, 255, 255, .3)
}

.sub-header ul.menu li.menu-item.active a span {
    font-weight: 700
}

.sub-header ul.menu li.menu-item a {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 2px
}

.sub-header ul.menu li.menu-item a span {
    position: relative;
    display: inline-block;
    padding: 0 14px;
    font-size: 15px;
    line-height: 36px;
    color: #fff;
    width: 100%;
    text-align: center;
    transition: -webkit-transform ease-in-out .25s;
    transition: transform ease-in-out .25s;
    transition: transform ease-in-out .25s, -webkit-transform ease-in-out .25s
}

.sub-header ul.menu li.menu-item a span::before {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: 0 0;
    content: attr(data-hover);
    text-align: center;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.sub-header ul.menu li.menu-item a:active, .sub-header ul.menu li.menu-item a:hover {
    background-color: rgba(255, 255, 255, .3)
}

.sub-header ul.menu:after, .sub-header ul.menu:before, .sub-header.dark ul.menu:after, .sub-header.dark ul.menu:before {
    content: " ";
    display: table
}

.sub-header ul.menu li.menu-item a:hover span {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%)
}

.sub-header ul.menu li.menu-item a:active span {
    color: rgba(255, 255, 255, .2)
}

.sub-header ul.menu li.menu-item a.btn-buy {
    margin-left: 16px;
    background: 0 0;
    border-radius: 2px;
    font-weight: 700
}

.sub-header ul.menu li.menu-item a.btn-buy:hover span::before {
    right: 0;
    bottom: -100%;
    margin: auto;
    color: transparent !important;
    width: 24px;
    height: 24px;
    background-image: url(./images/icon-buy.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center
}

.sub-header ul.menu li.menu-item a.btn-buy:active a {
    border: 1px solid rgba(255, 210, 0, .2) !important
}

.sub-header ul.menu li.menu-item a.btn-buy:active span::before {
    opacity: .2
}

.sub-header ul.menu li.menu-item a.btn-buy.yellow {
    border: 1px solid #FFD200
}

.sub-header ul.menu li.menu-item a.btn-buy.yellow span {
    color: #FFD200
}

.sub-header ul.menu li.menu-item a.btn-buy.dark {
    background: #ffd200 !important
}

.sub-header ul.menu li.menu-item a.btn-buy.dark span {
    color: #2d2d2d
}

.sub-header ul.menu li.menu-item a.btn-buy.dark:hover span::before {
    width: 24px;
    height: 24px;
    background-image: url(./images/icon-buy-dark.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center
}

.sub-header.dark .brand {
    width: 142px;
    height: 31px;
    background-image: url(./images/logo-dark.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center
}

body, html {
    height: 100%;
    position: relative
}

.sub-header.dark ul.menu li.menu-item.active a {
    font-weight: 700;
    background: 0 0
}

.sub-header.dark ul.menu li.menu-item.active a span {
    font-weight: 700
}

.sub-header.dark ul.menu li.menu-item a span {
    color: #222
}

.sub-header.dark ul.menu li.menu-item a span::before {
    background: 0 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0)
}

.sub-header.dark ul.menu li.menu-item a:active, .sub-header.dark ul.menu li.menu-item a:focus, .sub-header.dark ul.menu li.menu-item a:hover {
    background-color: rgba(255, 255, 255, .3)
}

.sub-header.dark ul.menu li.menu-item a:active span {
    color: rgba(255, 255, 255, .2)
}

.sub-header.dark ul.menu li.menu-item.btn-buy a {
    background: 0 0
}

.sub-header.dark ul.menu li.menu-item.btn-buy:active span::before, .sub-header.dark ul.menu li.menu-item.btn-buy:focus span::before, .sub-header.dark ul.menu li.menu-item.btn-buy:hover span::before {
    color: transparent !important
}

.sub-header.dark ul.menu li.menu-item.btn-buy:active a {
    border: 1px solid rgba(255, 210, 0, .2) !important
}

.sub-header.dark ul.menu li.menu-item.btn-buy:active span::before {
    opacity: .2
}
